package controllers

import java.time.LocalDateTime
import java.time.format.DateTimeFormatter
import java.util.concurrent.atomic.AtomicInteger

import javax.inject._
import play.api.mvc._

import scala.concurrent.ExecutionContext
import scala.concurrent.duration._

/**
 * This controller creates an `Action` to handle HTTP requests to the
 * application's home page.
 */
@Singleton
class HomeController @Inject()(cc: ControllerComponents)
                              (implicit exec: ExecutionContext) extends AbstractController(cc) {

  def indexPage = Action {
    Ok(views.html.home.indexPage())
  }

  def blankPage(title: String) = Action {
    Ok(views.html.blank.blankPage(title))
  }

}

